<?php
include dirname(dirname(__FILE__)).'/functions.php';

$_className=addslashes($_GET["className"]);

$ret=getGoodsAndPhotoByClass($_className);
echo json_encode($ret);

?>